package com.lxl.demo01.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lxl.demo01.domain.DoAlert;

import java.util.List;

public interface DoAlertService {
    Boolean save(DoAlert doAlert);

    Boolean update(DoAlert doAlert);

    Boolean delete(Long id);

    DoAlert getById(Long id);

    List<DoAlert> getAll();

    IPage<DoAlert> getPage(int currentPage, int pageSize);

}
